package uz.edo.utils;

import java.text.SimpleDateFormat;
import java.util.Locale;

import org.apache.wicket.markup.html.form.ChoiceRenderer;

public interface Constants {
    String DATE_PATTERN = "dd.MM.yyyy";
    String DD_MM_YYYY_DOTS = "dd-MM-yyyy";
	public static final Locale LOCALE = new Locale("ru");
	public static SimpleDateFormat FORMATTERBAZA = new SimpleDateFormat ("yyyy-MM-dd",LOCALE);
	public static SimpleDateFormat FORMATTER = new SimpleDateFormat ("dd.MM.yyyy",LOCALE);
    String DOC = "DOCUMENT";
    int ROWS_PER_PAGE = 1;

    @SuppressWarnings("unchecked")
	ChoiceRenderer RENDER = new ChoiceRenderer("name","objectID");
    @SuppressWarnings("unchecked")
	ChoiceRenderer RENDER_UZ = new ChoiceRenderer("nameUz","objectID");
    @SuppressWarnings("unchecked")
	ChoiceRenderer RENDER_RU = new ChoiceRenderer("nameRu","objectID");

//=============================== privileges =======================================================================
    String SU = "su"; // Bu bizning privilige
    String SYSADMIN = "sysadmin";     // bu bosh administrator

}
